Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Proposal] Replace DefaultValues-class with Provider #179

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

berkayerten
Copy link

I came up with a different proposal than the ticket suggests because I was a little bit confused with DefaultValueProvider accepting 2 different Types. Like, which type will the DefaultValue have? I could not make sense out of it, if I get the issue correctly.

Although it's a bit too many classes with the suggested way, it is both extendable for new Types as well as for new Providers. As an example I added a secondary provider and called it Maximum.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant